package com.example.his.api.db.pojo;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @TableName tb_role
 */
@Data
@TableName("tb_role")
public class RoleEntity implements Serializable {
    @TableId(type = IdType.AUTO)
    private Integer id;

    private String roleName;

    private String permissions;

    //desc 是关键字需要特殊处理
    @TableField(value = "`desc`")
    private String desc;

    private String defaultPermissions;

    private Integer systemic;

    private static final long serialVersionUID = 1L;
}